#!/bin/bash

# clean up object files
make clean

# rebuild binary
make sim-safe

#run the benchmarks

EIO_DIR="/cad2/ece552f/benchmarks"

./sim-safe -redir:sim gcc.out       $EIO_DIR/gcc.eio
./sim-safe -redir:sim go.out        $EIO_DIR/go.eio
./sim-safe -redir:sim compress.out  $EIO_DIR/compress.eio
